WPSpeed\Core\Html\LinkBuilder A

Total Complexity 63
Dependencies 19
Dependents 2
Total lines 441
Lines of code 245
Logical lines of code 120
Comment lines 100
Methods 23
Properties 10

Methods 23

Method Rating Maintainability Complexity Lines of code
createStaticFiles()
B
36 21 75
replaceLinks()
A
47 8 33
getAsyncAttribute()
S
62 4 11
addDeferredJs()
S
59 2 15
addPreConnects()
S
69 3 7
buildUrl()
S
62 3 10
isGZ()
S
74 3 4
loadCssAsync()
S
61 2 13
cleanScript()
S
62 2 12
appendChildToHead()
S
64 2 9
getNewJsLink()
S
80 1 3
appendAsyncScriptsToHead()
S
76 1 4
appendCriticalJsToHtml()
S
75 1 4
isXhtml()
S
78 1 3
__construct()
S
65 1 9
setImgAttributes()
S
74 1 4
appendChildToHTML()
S
72 1 4
addExcludedJsToSection()
S
69 1 6
addCriticalCssToHead()
S
70 1 6
appendOptimizedFontsToHead()
S
81 1 3
optimizeGFonts()
S
80 1 3
prependChildToHead()
S
73 1 4
getNewCssLink()
S
80 1 3